package r6.powtorka;

public class Bin implements Runnable {

	@Override
	public void run() {

		Employee e = new Employee("Jan Kowalski", 1998, 10, 20, 2000);
		System.out.println(e);
		
		Employee klon = null;
		try {
			klon = e.clone();
		} catch (CloneNotSupportedException e1) {
			e1.printStackTrace();
		}
		
		e.increasesalary(100);
		klon.increasesalary(200);
		System.out.println(e);
		System.out.println(klon);
	}

}
